home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / toolbook / minispy.zip / ASSIGN.TXT < prev    next >
Text File  |  1993-09-08  |  4KB  |  117 lines

  1.  
  2. MiniSpy 2.0        by Jurgen Sladeczek
  3.             ToolBook Consulting and Contract Programming
  4.             America Online    Sladeczek@aol.com
  5.             CompuServe       71561,1362
  6.  
  7. Release Date:        July 22, 1993    (SHAREWARE)
  8. ---------------------------------------------------------------------
  9.  
  10. Introduction to the MiniSpy 2.0 ASSIGNMENT Feature:
  11.  
  12.     MiniSpy 2.0 lets ToolBook authors assign their own favorite 
  13.     utility scripts to a list, which is accessible at both author
  14.     and reader level by a single right mouse button click 
  15.     (via the standard MiniSpy dialogbox).
  16.  
  17.  
  18. Instructions for using the "Assignment" feature of MiniSpy 2.0
  19. ---------------------------------------------------------------------
  20.  
  21. If you don't have MiniSpy 2.0 installed yet, please complete the
  22. installation steps now:
  23.  
  24. 1.  Run MiniSpy.sbk
  25. 2.  When MiniSpy is open, click on the "Install" button, then click on
  26.     "Install" in the dialog box.
  27.  
  28. Now you can get MiniSpy's main dialogbox by double clicking on
  29. any ToolBook instance that you start AFTER you have completed the 
  30. MiniSpy installation.
  31.  
  32. To add scripts to the assignment depository "Assign.sbk":
  33.  
  34. 1.    Click on the "Edit Assignments" button in the MiniSpy dialogbox.
  35.  
  36.     This takes you directly to the book script of "Assign.sbk",
  37.     where the utility scripts are stored.
  38.  
  39. [[ Alternatively, you could
  40. 1a.    Open the book "Assign.sbk"
  41. 1b.    Click on "edit Assignments". This will also take you to the book 
  42.     script of "Assign.sbk". ]]
  43.  
  44. 2.    Now add your favorite script(s); IMPORTANT:
  45.  
  46. In order for MiniSpy to be able to recognize your code, you have to
  47. formulate your script as a function call, not as a handler. If you
  48. already have a working handler, you can include it, of course, and
  49. simply write a "wrap-around" function call for it, similar to the
  50. code example below.    
  51.  
  52.     NOTE: if you already have a working script in another book, you
  53.     might just want to add a call that references your script.
  54.     For example:
  55.  
  56.     to get processScripts
  57.         send myProcessScripts to book "myBook.tbk"
  58.     end
  59.  
  60.     will appear as "processScripts" in the MiniSpy dialogbox list,
  61.     but will call the handler "myProcessScripts" in the book 
  62.     "myBook.tbk". (this assumes that "myBook.tbk" resides in the
  63.     same directory as assign.sbk and minispy.sbk. Otherwise, 
  64.     you have to specify the path, e.g. "C:\abc\myBook.tbk")
  65.  
  66.  
  67.  
  68.  
  69. 3.    When you are finished editing, choose "Edit/Update" from the 
  70.     "Scripts" menu. If you accessed "Assign.sbk" via method (1.)
  71.     above, you will be prompted whether you want to update the 
  72.     assignment list. 
  73.     This usually only takes a few seconds. You can check that your 
  74.     code is now available by bringing up the MiniSpy dialogbox
  75.     (Right button click), and checking the list on the
  76.     right hand side. To run such a script, select it from the list,
  77.     and click on "Execute", or simply double-click on the item.
  78.  
  79. ---------------------------------------------------------------------
  80.  
  81. I hope you enjoy this little tool. Quite likely, when you start using
  82. MiniSpy, you will notice some ways to improve on it: In that case, I'd
  83. like to hear from you. Please drop me a note:
  84.  
  85.     Jurgen Sladeczek
  86.     100 D Stinson St.
  87.     Chapel Hill, NC 27514
  88.  
  89. I hope that the MiniSpy-Assign combo will save you time in your work
  90. in the ToolBook environment, and that the small registration fee ($20)
  91. is worth it to you. 
  92.  
  93. I thank all of you who use this tool and send in their registration fee:
  94. only through your support can I afford to spend my time on improving 
  95. this product. THANK YOU!
  96.  
  97. A special thanks go all the brave users who have tested the first 
  98. release, and provided many useful suggestions!!
  99.  
  100.  
  101. If you need support, or have questions, you can reach me at
  102.     America Online    Sladeczek@aol.com
  103.     CompuServe       71561,1362
  104.  
  105. ---------------------------------------------------------------------
  106.  
  107. A final note in case you want to know exactly how MiniSpy works,
  108. or just want to peek at some of its code
  109.  
  110. The complete, documented source code is available for an extra fee of
  111.         $15 for disk copy with scripts accessible,
  112.         $10 for compiled hard copy of all scripts
  113.  
  114. ---------------------------------------------------------------------
  115.            Copyright Jurgen Sladeczek 1993
  116.             All Rights Reserved.
  117. ---------------------------------------------------------------------